/*
 	This file is part of ExportGnuCash.

    ExportGnuCash is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    ExportGnuCash is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with ExportGnuCash.  If not, see <http://www.gnu.org/licenses/>.
 */
package net.sourceforge.gnucash.model;



/**
 * Contains a single invoice's data
 * @author Steven Lawrance
 */
public class Invoice
{
    /** The GUID of this invoice */
	public String guid;
	
	/** The date opened in YYYY-MM-DD format */
	public String dateOpened;
	
	/** The date posted in YYYY-MM-DD format */
	public String datePosted;
	
	/** The ID of the invoice */
	public String id;
	
	/** Whether or not this invoice is active */
	public boolean active;
	
	/** GUID of account that this invoice is on */
	public String accountGuid;
    
	/** The account that this invoice is on */
	public Account account;
	
	/** GUID of the transaction that this invoice generated */
	public String invoiceTransactionGuid;
	
	/** Transaction that this invoice generated */
	public Transaction invoiceTransaction;
}
